#include "mainwindow.h"
#include "stringoperations.h"

#include <Windows.h>
#include <vector>
#include <string>

using namespace std;

int APIENTRY WinMain(HINSTANCE, HINSTANCE, LPSTR pCmdLine, int)
{
    vector<string> argv;
    StringOperations::tokenize(pCmdLine, " ", argv);
    if (argv.empty())
    {
        MainWindow glWindow("Glover", 640, 360);
    }
    else
    {
        MainWindow glWindow("Glover", 640, 360, argv.front());
    }

    return 0;
}
